cmake_minimum_required(VERSION 3.20)
project(TMC)

set(CMAKE_CXX_STANDARD 20)
include_directories(include)
link_directories(lib)

add_executable(TMC
    glad.c
    tmc_utils.h
    tmc_concepts.h
    tmc_window.h tmc_window.cpp
    tmc_shader.h tmc_shader.cpp
    tmc_model.h tmc_model.cpp
    tmc_camera.h tmc_camera.cpp
    tmc_game_object.h tmc_game_object.cpp
    movement_controller.h movement_controller.cpp
    simple_render_system.h simple_render_system.cpp
    test_app.h   test_app.cpp
    main.cpp
)
target_link_libraries(TMC glfw3 opengl32)

add_executable(test
        glad.c test.cpp)
target_link_libraries(test glfw3 opengl32)